<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<link type="text/css" href="/css/start/jquery-ui-1.8.21.custom.css" rel="Stylesheet" />	
<link type="text/css" href="/css/1pxtable.css" rel="Stylesheet" />	
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.21.custom.min.js"></script>
<script language ="javascript">
function check(){
	var email = $('#correct_email').attr('value');
	var verEmail = $('#verify_email').attr('value');
	if(email == verEmail){
		$('#update_email').prop('disabled', false);
	}else{
		$('#update_email').prop('disabled', true);
	}
}
</script>
</head>

<body style="font-family:Arial, Helvetica, sans-serif;">
<form action = "" method = "post" enctype="multipart/form-data">
	<h2>Your Application has sent to HQ, Please wait for approving.<br/></h2>
	<h3>
		HeadOffice Will notice you by Email in 96hr.<br/>
		<span style= "color:red"><?php echo $this->staffEmail?></span> is this Email Correct? <br/>
		If Yes, You may close window now<br/><br/>
		If not , please correct it.<br/>

	</h3>
		Correct Email Address:<input type = "text" name = "correct_email" id = "correct_email" ></input><br/>
		Verify Email Address:<input type = "text" name = "verify_email" id = "verify_email" onchange = "check()"></input><br/>
		<input type = "hidden" name = "stf_id" value = "<?php echo $this->stfId;?>"></input>
		<input type = "submit" name = "update_email" id = "update_email" value = "Submit" disabled></input>
</form>
	</body>
</html>